﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="goodsAgent.aspx.cs" Inherits="WebApp.admin.goods.goodsAgent" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>

    </title>
    <link href="../css/skin.css" rel="stylesheet" type="text/css" />

    <script type="text/javascript" src="../js/main.js"></script>
<script type="text/javascript" src="../js/jquery.min.js"></script>
<script type="text/javascript" src="../js/jquery.js"></script>

    <script type="text/javascript" language="javascript">

        ///验证品牌表单
        function checkGoodsAgentForm() {
//            var brandName = document.getElementById("txtBrandName");
//            if (brandName.value == "") {
//                alert("请输入品牌名称！");
//                brandName.focus();
//                return false;
//            }
       
            return true;
        }

    
    </script>

</head>






<body class="body">
    <table class="main" cellpadding="0" cellspacing="0">

        <tr>
            <td class="td_middle_middle">
             <div class="maincontent">
            <div  class="navgater"><img src="../images/module.gif" width="20" height="22" alt=""/>
             所在位置：商品代理列表-><%= Request.QueryString["ot"] == "ed" ? "商品代理编辑" : "商品代理添加"%>
       <a style=" display:block; float:right;" href="javascript:location.href=document.referrer;" ><img src="../images/history.gif" border="0" /></a>
</div>
                    <form id="form1" runat="server">
                        <table cellpadding="0" cellspacing="0" style="width: 100%">
                            <tr>
                                <td class="td_title">
                                    商品名称：</td>
                                <td class="td_content">
                                  <asp:Label ID="lblGoodsName" runat="server"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td class="td_title">
                                    代理公司名称：</td>
                                <td class="td_content">
                                      <asp:DropDownList ID="ddlAgentCompanyList" runat="server"></asp:DropDownList>
                                </td>
                            </tr>
                             <tr>
                                <td class="td_title">
                                    市场价格：</td>
                                <td class="td_content">
                                 <asp:Label ID="lblMarketPrice" runat="server"></asp:Label>
                                </td>
                            </tr>
                             <tr>
                                <td class="td_title">
                                    销售价格：</td>
                                <td class="td_content">
                                 <asp:Label ID="lblSalePrice" runat="server"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td class="td_title">
                                    折扣：</td>
                                <td class="td_content">
                                 <asp:Label ID="lblOnSale" runat="server"></asp:Label>
                                </td>
                            </tr>
                             <tr>
                                <td class="td_title">
                                    代理价格：</td>
                                <td class="td_content">
                                    <input id="txtAgentPrice" type="text" runat="server" value="" />*</td>
                            </tr>
                             <tr>
                                <td class="td_title">
                                    代理销售价格：</td>
                                <td class="td_content">
                                    <input id="txtAgentMarketPrice" type="text" runat="server" value="" /></td>
                            </tr>
                             <tr>
                                <td class="td_title">
                                    是否要订单处理：</td>
                                <td class="td_content">
            
                                        <asp:RadioButtonList ID="rblOrderProcess" RepeatDirection="Horizontal" Width="120px" runat="server">
                                           <asp:ListItem Value="1" Text="是"></asp:ListItem>
                                           <asp:ListItem Value="0" Selected="True" Text="否"></asp:ListItem>
                                         </asp:RadioButtonList>
  
                                     </td>
  
                            </tr>
             
                            <tr>
                                <td colspan="2">
                                    <asp:Button ID="btnSubmit" runat="server" Text="确  定" CssClass="formButton" OnClick="btnSubmit_Click"
                                        OnClientClick="return checkGoodsAgentForm();" />&nbsp;&nbsp;&nbsp;&nbsp;
                                    <input id="btnBack" type="button" class="formButton" value=" 返  回 " onclick="javascript:location.href=document.referrer;" /></td>
                            </tr>
                       </table>
                    </form>
                </div>
            </td>
        
        </tr>
    
    </table>
</body>
</html>
